<!-- DataGovernanceProcess.vue -->
<template>
  <div class="data-governance-container">
    <h1 class="app-title">电磁数据跨模态关联分析系统</h1>
    <div class="dashboard">
      <div class="panel">
        <KnowledgeGraphBrowser class="graph-container" />
      </div>
      <div class="panel">
        <SpatiotemporalAlignment class="monitor-container" />
      </div>
    </div>
  </div>
</template>

<script>
import { defineComponent } from 'vue'
import KnowledgeGraphBrowser from './mode/KnowledgeGraph.vue'
import SpatiotemporalAlignment from './mode/SpatiotemporalMonitor.vue'

export default defineComponent({
  name: 'MultimodalAnalysisModel',
  components: {
    KnowledgeGraphBrowser,
    SpatiotemporalAlignment
  }
})
</script>

<style scoped>
.data-governance-container {
  display: flex;
  flex-direction: column;
  height: 94vh;
  width: 95vw;
  background: linear-gradient(135deg, #0c1124 0%, #182044 100%);
  color: #e4f0ff;
  font-family: 'Segoe UI', 'Source Han Sans CN', sans-serif;
  box-sizing: border-box;
}

.app-title {
  text-align: center;
  font-size: 1.2vw;
  margin-bottom: 2vh;
  font-weight: 500;
  color: #61dafb;
  text-shadow: 0 0 10px rgba(97, 218, 251, 0.5);
}

.dashboard {
  display: flex;
  flex: 1;
  gap: 1.5vw;
  height: calc(100% - 8vh);
}

.panel {
  flex: 1;
  background: rgba(16, 22, 46, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(64, 140, 246, 0.25);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(2, 8, 24, 0.4);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.panel:hover {
  box-shadow: 0 8px 40px rgba(64, 140, 246, 0.3);
}

.graph-container, .monitor-container {
  flex: 1;
  padding: 1vh 1vw;
}
</style>